package com.dream.demo.service;

import com.dream.demo.common.ResultCommon;
import com.dream.demo.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {

    ResultCommon queryAllUser();

    ResultCommon updateUser(User user);

    ResultCommon deleteUserById(int id);

    ResultCommon insertUser(User user);
}
